package com.lzy.pattern.adapter.class_adapter;

/**
 * @ClassName: SdAdapterTf
 * @Description: 适配器类
 * @Author: LiuZy
 * @Date: 2022/4/23 09:36
 * @Version: 1.0
 */
public class SdAdapterTf extends TfCardImpl implements SdCard{

    @Override
    public String read() {
        System.out.println("适配器读取数据。");
        return super.read();
    }

    @Override
    public void write(String msg) {
        System.out.println("适配器写数据。");
        super.write(msg);
    }
}